package com.itheima.mapper;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    /**
     * 添加用户
     * @param user
     */
    @Insert("insert into tb_user values (null,#{username},#{password})")
    void add(User user);
}
